﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>jg_func</title>
      <meta http-equiv="X-UA-Compatible" content="IE=8,IE=11" />
      <style type="text/css">
     .box{ width:1700px; width:900px; margin:300px;}
      </style>
</head>
<script src="js/jg_func_1125.js" type="text/javascript"></script>

<body>
<script type="text/javascript">
//func1
    
//    var dat = new Date();
//    console.log(jg.format('{0}-{1}-{2} {3}:{4}:{5}', [ dajg.getFullYear(), dajg.getMonth() + 1, dajg.getDate(), dajg.getHours(), dajg.getMinutes(), dajg.getSeconds()]));
//    //func2
//    var str = jg.coder(',$WPGB150248SS:DP1032656-16, 19;WPGB150270SS:DP1033051-3, 4, 6~17$');
//    console.log(str);
//    console.log(jg.decoder(str));

//    console.log([2, 4, 5, 2, 6, 7, 4, 8, 3].distinct())
// 
//    console.log('12'.prependPrefix(2, 0));
//    console.log('12'.prependPrefix(3, 0));
//    console.log('12'.prependPrefix(4, 0));
    //    console.log('12'.prependPrefix(5, 0));
    // console.log(jg.GetQueryString('v'));
//    console.log(' edc  '.trim([]));
//    console.log(' edc  '.trim("left"));
//    console.log(' edc  '.trim("right"));
    //    console.log(' edc  '.trim());
    //  console.log( [1, 2,8, 3, '6', 'z'].sort(sort_up));
//    console.log(jg.is(''));
//    console.log(jg.is(123));
//    console.log(jg.is([]));
    //    console.log(jg.is({}));
//    console.log('sxidsxhxwfceh'.replaceAll("sx", "weee"));
//    console.log(jg.htmlEncode("<i>&</i>"));
//    console.log(jg.setCookie("xc", "xxcc"));
    //    jg.loadStyle();
    // console.log(jg.coder(jg.format("   {0} - {2}  ", "1", "2")));

    //console.log(jg.getUrlState("http://www.baidu123.com"));
//    console.log(jg.ip2int("10.71.120.50"));
//    console.log(jg.ip2int("1.1.1.1")); console.log(jg.ip2int("255.255.255.254"));
//    console.log(jg.int2iP("1720"));
//    console.log(jg.isURL([]));
//    console.log(jg.isURL({}));
//    console.log(jg.isURL(1));
    //    console.log(jg.isURL('www.123.cn'));
    function dj() {
        console.log(jg.getPageHeight());
        console.log(jg.getPageScrollLeft());
        console.log(jg.getPageScrollTop());
        console.log(jg.getPageViewHeight());
        console.log(jg.getPageViewWidth());
        console.log(jg.getPageWidth());
    }
    console.log(jg.uniqueId());
    console.info(reg);
  //  console.log(ds.timeFormat());
    console.log(jg.transform(34679012312.13));
</script>
<div class='box'><button onclick='dj()'>getHW</button></div>

</body>
</html>
